package com.codeing.demo.unsafe;

import java.util.function.Consumer;

/**
 * @author shilei
 * @create 2021-06-09 18:48
 */
public class LambdaDemo {
    public static void main(String[] args) {
        Consumer<String> consumer = s -> System.out.println(s);
        consumer.accept("lambda");
    }
}
